export default{
	add_view(s,name){
		if(!name) return
		if(s.needCache.findIndex(n=>n===name)==-1){
			s.needCache.push(name)
		}
	},
	del_view(s,name){
		if(!name) return
		let index=-1
		if((index=s.needCache.findIndex(n=>n===name))!==-1){
			let delName=s.needCache.splice(index,1)
		}
	}
}